﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Admin_MonThi_Xoa : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        int mamon = int.Parse(Request.Params["mamon"].ToString());

        if (MonThiDAL.Delete(mamon) > 0)
        {
            Session["Mess"] = "Thanh Cong";
            Session["Type"] = "Success";
        }
        else
        {
            Session["Mess"] = "that bai";
            Session["Type"] = "Error";
        }
        Response.Redirect("DanhSachMonThi.aspx");
    }
}